package day8;

/**
 * @author oldliu
 * @since 1.0
 */
public class Taxi {
    String no;
    String company;

    public Taxi(String no, String company) {
        this.no = no;
        this.company = company;
    }

    public void go(){
        System.out.println("这是"+company+",车牌号"+no+",驾驶员为您服务");
    }
}
